package com.fs.erp.api.basedata.mappers;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.erp.api.basedata.entity.ProductCategory;
import com.fs.erp.api.basedata.vo.product.category.CreateProductCategoryVo;

import java.util.List;

public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {
    public int createCategory(ProductCategory category);

    List<ProductCategory> getAllProductCategory();

    /**
     * 通过id查询类目
     * @param id
     * @return
     */
    List<ProductCategory> selectCategoryById(String id);


}
